package com.mco.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.RequiredArgsConstructor;

/**
 * @author ：liao.wei
 * @description：用户类
 * @date ：2023/9/14 20:58
 */
@Data
@RequiredArgsConstructor
@TableName(value="t_customer")
public class Customer extends Model<Customer> {
	
	@TableId(type = IdType.AUTO)
	private Long id;
	private String cname;
	private Integer age;
	private String phone;
	private Integer sex;
	private String birth;
	
}
